package FourHomeworkDesign.Decorator;

/**
 * @author 北巷_东坡
 * @date 2022/11/13 9:15
 * @computer 10741
 */
public class Client206 {
    public static void main(String[] args) {
        Component206 component206;
        component206 = (TextView206)XMLUtil.getBean();
        component206.display();
        System.out.println("------------------");
        ScrollBarDecorator206 scrollBarDecorator206 = new ScrollBarDecorator206(component206);
        BlackBorderDecorator206 blackBorderDecorator206 = new BlackBorderDecorator206(component206);
        scrollBarDecorator206.display();
        blackBorderDecorator206.display();
    }
}
